home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 051-075 / scopedisk72 / unix / unix.lzh / readme < prev   
Text File  |  1989-05-19  |  1KB  |  30 lines

  1.    Don't forget to look for the GNU utilities egrep and sed on this BBS!!!
  2. These are some UNIX-like utilities that will be most useful to you if
  3. you have a piping shell like ARP's 1.3 AShell or Bill Hawe's WShell.
  4.  
  5. c -- put input into as many aligned columns as possible. It may be
  6.    possible to fit that entire directory onto one screen after all!
  7.  
  8. cut -- cut <n> [file list], cuts out a field from each input line. Not
  9.    overly useful until I implement the -v and more-than-one-field option,
  10.    but still gets used.
  11.  
  12. nl -- put each input word onto a separate line.
  13.  
  14. rand -- generate a random integre from 0 -> 2^31. Useful for generating
  15.    temporary filenames, and the like.
  16.  
  17. rev -- output lines in reverse order they came in.
  18.  
  19. sh -- to enable non-piping programs to be piped. eg,
  20.    Lattice's 'wc' would be piped as  '... | ... | sh "wc @" | ...',
  21. where '@' tells sh where the filename should go.  Note it's implemented
  22. as an ARP shell scipt, so you'll need AShell for this one.
  23.  
  24. tail -- see docs
  25.  
  26. uniq -- delete adjacent duplicate lines. Use to compress files that have
  27.    more blank lines than you'd like, or to take out duplicates that 'sort'
  28.    spits out,...
  29.  
  30.